<template>
  <div class="content">
    <button @click="next">返回上一页</button>
  </div>
</template>

<script>
export default {
  methods: {
    next() {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="stylus">
  .content
    button
      background-color transparent
      border 1px solid #ccc
      border-radius 6px
</style>
